package com.pjs.tdd;

import static com.pjs.tdd.DataProvider.pounds;
import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.pjs.test.framework.AbstractUnitTestCase;

public class MoneyTest extends AbstractUnitTestCase<Money> {

	public MoneyTest() {
		super(Money.class);
	}
	
	@Test
	public void accountHasRequiredType(){
		classUnderTest=pounds(1000);
		assertEquals("Pounds should be GBP", classUnderTest.currency(),Currency.GBP);
	}
	

}
